package design.simdi.code.final_paper.core.queries;

/**
 * 
 * @author Marius Dumitriu - (May 21, 2010 - 11:26:25 PM)
 * 
 */
public enum LicentaHQLQueries {
	findUserByLoginAndPassword("from User u where u.login = '%s' and u.password = '%s'"),
	findRoleByName("from Role r where r.name = '%s' ");

	String query;

	private LicentaHQLQueries(String query) {
		this.query = query;
	}

	public String getQuery() {
		return query;
	}

}
